var INSERT="001",UPDATE="010",DELETE="011"  ;

var buttons1=[{text:'add',value:"btnAdd"},{text:'save',value:"btnAccept"}];

var buttons = [ {
	iconCls : 'icon-add',
	handler : function(e) {
		var gridid = getGridid($(this)) ;
		//var type =  jQuery.grid($("#"+gridid).attr("dataset"),gridid)["type"];
		insert(gridid);
	}
}, {
	iconCls : 'icon-remove',
	handler : function() {
		remove(getGridid($(this)));
	}
}, {
	iconCls : 'icon-ok',
	handler : function() {
		accept(getGridid($(this)));
	}
} , {
	iconCls : 'icon-undo',
	handler : function() {
		reject(getGridid($(this)));
	}
}];
